/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package avl.sv.server.training;

import java.util.Date;

/**
 *
 * @author benbryan
 */
public class Session {

    private Date lastActivity;
    private final String username;

    public Date getLastActivity() {
        return lastActivity;
    }

    public String getUsername() {
        return username;
    }

    public void setLastActivity(Date lastActivity) {
        this.lastActivity = lastActivity;
    }

    public Session(Date lastActivity, String username) {
        this.lastActivity = lastActivity;
        this.username = username;
    }
}
